/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package projetluc;

import java.io.*;

/**
 *
 * @author Lone_Wolf
 */
public class Employe implements Serializable {

    private String nom;
    private String initiales;
    private String motPasse;
    private double salaire;
    private boolean admin;
    private Travail_Effectue tache;

    public Employe(String nom, String initiales, String motPasse, double salaire, 
            boolean admin, Travail_Effectue tache) {
        this.nom = nom;
        this.initiales = initiales;
        this.motPasse = motPasse;
        this.salaire = salaire;
        this.tache = tache;
    }

    public String getInitiales() {
        return initiales;
    }

    public void setInitiales(String initiales) {
        this.initiales = initiales;
    }

    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

    public String getMotPasse() {
        return motPasse;
    }

    public void setMotPasse(String motPasse) {
        this.motPasse = motPasse;
    }

    public boolean isAdmin() {
        return admin;
    }

    public void setAdmin(boolean admin) {
        this.admin = admin;
    }

    public void setSalaire(double salaire) {
        this.salaire = salaire;
    }

    public double getSalaire() {
        return salaire;
    }
    
    public void setTache(Travail_Effectue tache){
        this.tache = tache;
    }
    
    public Travail_Effectue getTache(){
        return tache;
    }
}
